home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 18 / Developer Source Volume 18 (I-MODE Publications, Inc.)(2000).iso / visua / 921 / dalef102.gif < prev    next >
Graphics Interchange Format  |  1999-07-12  |  32KB  |  320x374  |  4-bit (16 colors)
Labels: text | screenshot | font | number
OCR: handleShutdown |Called when the OS is attempting to shut down or restant the entire sys- fem, Threads running as a part of this service should be stopped in this function. This function should return true if successful. tandleStop Called when the user requests to stop a service that's been started. Threads running as a part of this service should be stopped in this function. This func- hon should return true if successful. handlePause Called when the user requests to pause a service that's been started. The implementation of this function should return false if successful, and include a call to the setPaused function. handle Continue Called when the user requests to continue a service that has been paused. The implementation of this furiction should return false if suc- cessful, and include a call to the setRunning function, Figure 2: com.ms.service.Service class functions